/*
 * Copyright (c) 2022-2022 All rights Reserved.
 */

package com.driving.core.entity;

import org.apache.ibatis.type.Alias;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.driving.core.base.AbstractModel;
import com.driving.core.mapper.type.Gender;
import com.driving.core.mapper.type.LicenseType;

import lombok.Getter;
import lombok.Setter;

/**
 * 学员报名
 *
 * @author SAGITTAR
 * @since 2017
 */
@Getter
@Setter
@Alias(value = "StudentApply")
@TableName(value = "tb_student_apply")
public class StudentApply extends AbstractModel<StudentApply> {

    private static final long serialVersionUID = -5708591257487624957L;

    @TableField(value = "student_id")
    private Integer studentId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "gender")
    private Gender gender;

    @TableField(value = "mobile")
    private String mobile;

    @TableField(value = "email")
    private String email;

    @TableField(value = "id_number")
    private String idNumber;

    @TableField(value = "school_id")
    private Long schoolId;

    @TableField(value = "coach_id")
    private Long coachId;

    @TableField(value = "learn_type")
    private LicenseType learnType;
}
